home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 February: Tool Chest / Apple Developer CD Series Tool Chest February 1996 (Apple Computer)(1996).iso / Sample Code / Sample Code Update 01⁄96 / Fragment Tool / Sources / Utilities.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-11-20  |  902 b   |  48 lines  |  [TEXT/MPCC]

  1. /*
  2.     File:        Utitlities.h
  3.  
  4.     Contains:    General utility routines
  5.  
  6.     Written by:    Chris White, Developer Technical Support
  7.     
  8.     Copyright:    © 1995 by Apple Computer, Inc., all rights reserved.
  9.     
  10.     Change History (most recent first):
  11.     
  12.                   9/28/95    CW        First release
  13.  
  14. */
  15.  
  16. #ifndef __UTILITIES__
  17. #define __UTILITIES__
  18.  
  19.  
  20.  
  21. #ifndef __FRAGMENTTOOL__
  22.     #include "FragmentTool.h"
  23. #endif
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30. void AlertUser ( short messageCode, short errorNum, StringPtr theString );
  31.  
  32. StringPtr CopyPStr ( Str255    inSourceStr, StringPtr outDestStr, int16 inDestSize );
  33. StringPtr ConcatPStr ( Str255 ioFirstStr, Str255 inSecondStr, int16 inDestSize );
  34. StringPtr OSTypeToPStr ( OSType inOSType, StringPtr outString );
  35.  
  36. void BlockClear ( Ptr ptr, char value, Size size );
  37.  
  38. pascal void OutlineUserItem ( DialogRef theDialog, short theItem );
  39.  
  40. Boolean IsAResource ( Handle theHan );
  41.  
  42. OSErr CreateTemporaryFile ( FSSpecPtr theSpec );
  43.  
  44.  
  45.  
  46.  
  47.  
  48. #endif